package com.mxwl.cbg.common.model.es;

import com.mxwl.cbg.common.model.base.BaseModel;
import com.mxwl.cbg.common.model.es.role.*;
import com.mxwl.cbg.common.model.source.role.AttributeBasic;
import com.mxwl.cbg.common.model.source.role.FaBao;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 此模型为ES模型
 * 用于存储角色的搜索数据，本质上不对数据存储而是传为搜索引擎索引而建立
 * 为保证ES的效率，尽可能的只存必要搜索条件的数据
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ESRoleModel extends BaseModel {
    //角色基础数据 包含人物状态、角色修炼及宠修、积分、输出、抗性
    private AttributeBasic roleBasic;
    //祥瑞
    private ESXiangRui xiangRui;
    //人物技能
    private ESRoleSkill roleSkill;
    //法宝
    private FaBao roleFaBao;
    //装备
    private ESRoleEquipment equipment;
    //神器
    private ESShenQi shenQi;
    //孩子1
    private ESChild child1;
    //孩子2
    private ESChild child2;
    //召唤兽
    private ESCallHorse callHorse;
    //锦衣
    private ESClothe clothe;
    //坐骑
    private ESRider rider;
    //挂件
    private List<Integer> widgets;
    //灵饰
    private ESLingShi lingShi;

}
